+Wed Aug 4 01:37:57 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktreeview.c:
+ * gtk/gtktreestore.c:
+ * gtk/gtktreemodelfilter.c:
+ * gtk/gtknotebook.c: s/childs/children/g.
+
Wed Aug 4 01:04:48 2004 Matthias Clasen <maclas@gmx.de>
Fix #133446, noticed by Christian Persch:
+Wed Aug 4 01:37:57 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktreeview.c:
+ * gtk/gtktreestore.c:
+ * gtk/gtktreemodelfilter.c:
+ * gtk/gtknotebook.c: s/childs/children/g.
+
Wed Aug 4 01:04:48 2004 Matthias Clasen <maclas@gmx.de>
Fix #133446, noticed by Christian Persch:
+Wed Aug 4 01:37:57 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktreeview.c:
+ * gtk/gtktreestore.c:
+ * gtk/gtktreemodelfilter.c:
+ * gtk/gtknotebook.c: s/childs/children/g.
+
Wed Aug 4 01:04:48 2004 Matthias Clasen <maclas@gmx.de>
Fix #133446, noticed by Christian Persch:
+Wed Aug 4 01:37:57 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktreeview.c:
+ * gtk/gtktreestore.c:
+ * gtk/gtktreemodelfilter.c:
+ * gtk/gtknotebook.c: s/childs/children/g.
+
Wed Aug 4 01:04:48 2004 Matthias Clasen <maclas@gmx.de>
Fix #133446, noticed by Christian Persch:
CHILD_PROP_TAB_LABEL,
g_param_spec_string ("tab_label",
P_("Tab label"),
- P_("The string displayed on the childs tab label"),
+ P_("The string displayed on the child's tab label"),
NULL,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_MENU_LABEL,
g_param_spec_string ("menu_label",
P_("Menu label"),
- P_("The string displayed in the childs menu entry"),
+ P_("The string displayed in the child's menu entry"),
NULL,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_TAB_EXPAND,
g_param_spec_boolean ("tab_expand",
P_("Tab expand"),
- P_("Whether to expand the childs tab or not"),
+ P_("Whether to expand the child's tab or not"),
TRUE,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_TAB_FILL,
g_param_spec_boolean ("tab_fill",
P_("Tab fill"),
- P_("Whether the childs tab should fill the allocated area or not"),
+ P_("Whether the child's tab should fill the allocated area or not"),
TRUE,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
static GtkTreePath *gtk_real_tree_model_filter_convert_child_path_to_path (GtkTreeModelFilter *filter,
GtkTreePath *child_path,
gboolean build_levels,
- gboolean fetch_childs);
+ gboolean fetch_children);
static FilterElt *gtk_tree_model_filter_fetch_child (GtkTreeModelFilter *filter,
FilterLevel *level,
static void gtk_tree_model_filter_remove_node (GtkTreeModelFilter *filter,
GtkTreeIter *iter,
gboolean emit_signal);
-static void gtk_tree_model_filter_update_childs (GtkTreeModelFilter *filter,
+static void gtk_tree_model_filter_update_children (GtkTreeModelFilter *filter,
FilterLevel *level,
FilterElt *elt);
static FilterElt *bsearch_elt_with_offset (GArray *array,
}
static void
-gtk_tree_model_filter_update_childs (GtkTreeModelFilter *filter,
- FilterLevel *level,
- FilterElt *elt)
+gtk_tree_model_filter_update_children (GtkTreeModelFilter *filter,
+ FilterLevel *level,
+ FilterElt *elt)
{
GtkTreeIter c_iter;
GtkTreeIter iter;
{
GtkTreeModelFilter *filter = GTK_TREE_MODEL_FILTER (data);
GtkTreeIter iter;
- GtkTreeIter childs;
+ GtkTreeIter children;
GtkTreeIter real_c_iter;
GtkTreePath *path = NULL;
level = FILTER_LEVEL (iter.user_data);
elt = FILTER_ELT (iter.user_data2);
- /* and update the childs */
- if (gtk_tree_model_iter_children (c_model, &childs, &real_c_iter))
- gtk_tree_model_filter_update_childs (filter, level, elt);
+ /* and update the children */
+ if (gtk_tree_model_iter_children (c_model, &children, &real_c_iter))
+ gtk_tree_model_filter_update_children (filter, level, elt);
goto done;
}
/* update stamp */
gtk_tree_model_row_inserted (GTK_TREE_MODEL (filter), path, &iter);
- if (gtk_tree_model_iter_children (c_model, &childs, c_iter))
- gtk_tree_model_filter_update_childs (filter, level, elt);
+ if (gtk_tree_model_iter_children (c_model, &children, c_iter))
+ gtk_tree_model_filter_update_children (filter, level, elt);
done:
if (path)
filter->priv->root_level_visible++;
}
- /* another iteration to update the references of childs to parents. */
+ /* another iteration to update the references of children to parents. */
for (i = 0; i < level->array->len; i++)
{
FilterElt *e = &g_array_index (level->array, FilterElt, i);
gtk_real_tree_model_filter_convert_child_path_to_path (GtkTreeModelFilter *filter,
GtkTreePath *child_path,
gboolean build_levels,
- gboolean fetch_childs)
+ gboolean fetch_children)
{
gint *child_indices;
GtkTreePath *retval;
found_child = TRUE;
}
- if (!found_child && fetch_childs)
+ if (!found_child && fetch_children)
{
tmp = gtk_tree_model_filter_fetch_child (filter, level,
child_indices[i],
level = tmp->children;
found_child = TRUE;
}
- else if (!found_child && !fetch_childs)
+ else if (!found_child && !fetch_children)
{
/* no path */
gtk_tree_path_free (real_path);
if (gtk_tree_path_get_depth (path) != gtk_tree_path_get_depth (pos_path))
{
- g_warning ("Given childs are not in the same level\n");
+ g_warning ("Given children are not in the same level\n");
goto free_paths_and_out;
}
if (gtk_tree_path_get_depth (path) > 0 &&
gtk_tree_path_compare (path, tmppath))
{
- g_warning ("Given childs are not in the same level\n");
+ g_warning ("Given children are not in the same level\n");
gtk_tree_path_free (tmppath);
goto free_paths_and_out;
GtkTreeViewChild *child = tmp_list->data;
tmp_list = tmp_list->next;
- /* totally ignore our childs requisition */
+ /* totally ignore our child's requisition */
allocation.x = child->x;
allocation.y = child->y;
allocation.width = child->width;